from flask import Flask,render_template,request

app = Flask(__name__)

#路由地址
@app.route('/')
def index():
    return render_template('index11.html')

@app.route('/login/')
def login():
    user = request.args.get('user')
    return render_template('index11.html',user=user)

if __name__ == '__main__':
    #启动web应用服务
    app.run(debug=True)